<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 2019-11-12
 * Time: 22:15
 */

namespace app\api\validate;


use LinCmsTp5\validate\BaseValidate;

class PagingParameter extends BaseValidate
{
    protected $rule = [
        'page' => 'isPositiveInteger',
        'limit' => 'isPositiveInteger'
    ];

    protected $message = [
        'page' => '分页参数必须是正整数',
        'limit' => '分页参数必须是正整数'
    ];
}